/**
 * Created by ziyuan_li on 2016/4/18.
 */

var express = require('express');
var router = express.Router();

router.post('/list',function(request,response){
    console.log(request.body);
    var userList = [
        {id:1,name:'zhangsan'},
        {id:2,name:'lisi'},
        {id:3,name:'lisi'},
        {id:4,name:'lisi'}
    ];
    response.json(userList);
});

module.exports = router;
